package cn.yunhe.dao;

import cn.yunhe.pojo.BoardDemo;

import java.util.List;

public interface IBoardDao {

    /**
     * 添加板块
     * @param boardemo
     * @return
     */
    int addBoardByBoard(BoardDemo boardemo);

    /**
     * 查询所有板块
     * @return
     */
    List<BoardDemo> searchAllBoards();
}
